
<form id="form_edit"><input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td width="20%" align="right">流水号：</td>
		<td width="30%">#{[$result.id]}({[$result.oper_t]})</td>
		<td width="20%" align="right">状态：</td>
		<td width="30%">{[$result.status_t]}</td>
	</tr>
	<tr>
		<td align="right">客户：</td>
		<td colspan="3"><input type="text" name="customer" id="customer" value="{[$result.customer]}:{[$result.customer_t]}"
			size="20" title="{[$t.customer]}"> <a href="javascript:void(0)" id="customer_x" onclick="Common.toggle(this, '#label_linkman_a')(this)"
			class="ui-icon ui-icon-circle-triangle-w" style="display: inline-table"></a></td>		
	</tr>
	<tr id="label_linkman_a">
		<td></td>
		<td colspan="3">{[include file="contact/customer/_linkman.tpl"]}</td>
	</tr>
	<tr>
		<td align="right">业务员：</td>
		<td><input type="text" name="emp" id="emp" value="{[$result.emp]}:{[$result.emp_t]}" size="12" title="{[$t.emp_|emp:'业务员']}"></td>
		<td align="right">分类：</td>
		<td><select name='type'>
			{[html_options options=$type_option selected=$result.type]}
		</select></td>
	</tr>
	<tr>
		<td align="right">银行：</td>
		<td colspan="3"><select name='bank' id='bank'>
			{[html_options options=$bank_option selected=$result.bank]}
		</select><select name='account' id='account'>
			{[html_options options=$account_option selected=$result.account]}
		</select></td>
	</tr>
	<tr>		
		<td align="right">到帐日期：</td>
		<td><input type="text" name="date" id="date" value="{[$result.date]}" size="12"></td>
		<td align="right">是否共享：</td>
		<td><select name='share' id='share'>
			{[html_options options=$share_option selected=$result.share]}
		</select></td>
	</tr>
	<tr>
		<td align="right">汇款金额：</td>
		<td><input type="text" name="remittance" id="remittance" value="{[$result.remittance]}" size="12"></td>
		<td align="right">对方费用：</td>
		<td><input type="text" name="fee" id="fee" value="{[$result.fee]}" size="12"></td>		
	</tr>
	<tr>
		<td align="right">银行金额：</td>
		<td colspan="3"><input type="text" name="total" id="total" value="{[$result.total]}" size="12"> <select name='currency' id='currency'>
			{[html_options options=$currency_option selected=$result.currency]}
		</select> <label id="label_total"></label></td>
	</tr>
	<tr>
		<td align="right">本地费用：</td>
		<td colspan="3"><input type="text" name="kc" id="kc" value="{[$result.kc]}" size="12"></td>	
	</tr>
	<tr>
		<td align="right">到帐金额：</td>
		<td colspan="3"><input type="text" name="amount" id="amount" value="{[$result.amount]}" size="12" disabled> </select> <label id="label_amount"></label></td>
	</tr>	
	<tr>
		<td align="right">汇率：</td>
		<td><input type="text" name="rate" id="rate" value="{[$result.rate]}" size="12"></td>
		<td align="right">人民币：</td>
		<td><input type="text" name="rmb" id="rmb" value="{[$result.rmb]}" size="12"></td>
	</tr>
	<tr>
		<td align="right">银行详情：</td>
		<td colspan="3"><textarea rows="8" name="detail" cols="55">{[$result.detail]}</textarea></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="3" name="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
</table>
</form>

<script type="text/javascript" src="js/finance/transaction/add.js?r={[$smarty.now]}"></script>
